
export default {
	data() {
		return {
			// 状态 1000:全部；；100：待审核；10：待支付；111：待派车；112:待接货；200:已完成 -1：已取消；
			titleList:[
				{
					id:'0',
					status:'',
					name:'全部车次',
				},
				{
					id:'1',
					status:'20',
					name:'待到车次',
				},
				{
					id:'2',
					status:'500',
					name:'未分拨',
				},
				{
					id:'3',
					status:'600',
					name:'已分拨',
				},
				{
					id:'4',
					status:'650',
					name:'已到达网点',
				},
				{
					id:'5',
					status:'700',
					name:'已签收',
				},
			], 
			tabIndex:0,
			height:0,
		}
	},
	created() {
		 
	},
	onLoad(options) {
		 this.height = uni.getSystemInfoSync().windowHeight  + 'px'
		 this.tabIndex=options.tabIndex; 
	},
	onShow() {
		if (!this.check.isLogin()) {
			uni.navigateTo({
				url: "/pages/login/login/login"
			});
		} 
	},
	methods: {
		 tabsClick(item){
			console.log(item)
			 this.tabIndex = item.index;
		 },
		 swiperChange(e){
			 this.tabIndex = e.detail.current
		 },
	}
}
